beginning work on controller