mouseo/o handling to model