adding input methods