First commit of functions