added endowment feature