1st submission after creating functions