made some control stuff