added some preliminary stuff for block tracking