no longer need these helper functions now that the api return value has been corrected