Implemented input library functionality