adding in mousetrap for key captures