removed superflous API call