removed some unnecessary variables
added osc control