removed ref to controls