parameter limit condition checks corrected