init method, hide attrs from outside world