updated controllers and added used strict