Created a new block and added handlers