added mouse input