implemented input api