added methods from API docs