https://devhubby.com/thread/how-to-do-operation-in-erlang