setting up blockbreakevent