add private attribute to block class