implemented checkRequest method