Add helper functions for input
Merge pull request #134 from dildick/master

Add helper functions for input