Added input events