privatizing private api methods