First commit of functions.