Implemented basic input callback