updated for latest elixir