added prereq check
.