added some function keywords to erlang