removing private functions