there are two criteria working