Improved my prior checking.