add block class helper