all controller setup