updated api methods