issues eample from Programing Elixir book