added new custom method to the API