New function in API