added goals and management api calls