controller talks to class