added back type check to start that was removed in PR #2