Adding blocks class