spending alot of time getting controlls to work