new API to match the updated UI