adding methods in input