formatting
re-implementing mouse