added mouse input and date