added methods from api docs