Input Methods Definition