Metadata logic added, need to add notification in the tileEntity