combine sanity checking parameters with ||