Changed the control to cursor based.