API code is removed