commiting controller code