added some simple controls