added function to be implemented to api