less erlangy, more elixir style