Added a check for input.
Merge branch 'master' of https://github.com/IamBc/tbcp