Continnuing the project, passing functions as arguments working properly