added a few comments in controllers