added some Input methods