adjusted functions