deleted not needed line in API code