Created a block class