working on primary controller
got the master controller going