tested with block class, it works