privatize method