added some commenting to controllers