formatting cleanup on controller implementation