Made it so there is a single function to run