added check for if pre req taken