provide api methods