Mouse functions added