tried to add a block detector