Finished coding first section of controllers