add with_check and without_check