Small Fix

added public to the controller class