Add new method in api