use proper api method