Defined the structure of all the functions to be completed