Merge pull request #1142 from IT-Can/input-method

Added method() #783