Commented code for controllers