privatize attributes