working on controller object