Elixir implementation