removing private api stuff