trying to figure out sub-request problem