some changes to help with the mouse