Revert "Removed local version of input - now using util"

This reverts commit 2be89b6a71ac0c51dbb27ce9720a32d556382109.