commiting intro to functions