started implementing input