added numtoskip and numtoreturn to basic search