Projects2 on creating functions