second commit of functions