use class property instead of variable