following examples at http://www.sitepoint.com/elixir-love-child-ruby-erlang/