added a few controls stuff