basic input methods.