added input methods