Commented out the check optimizations. Check optimizations need to be debugged