revert changes to check(), no longer needed