Setting up my functions and returns