checkpoint before checkout