Made change to control to allow for getdetails