used new possibilities of ParameterChecker
enhanced error handling