sub check