New methods for api