modified api service