functions homework made