add in_check method