take into account if delivery is required