new functions in Api