avoid private attribute? warning