set class's variable "public" -> "private"