Adding in thefunctions for the assignment