Created multiple functions