created api for default objective, need to test