implementing API categories