added a method for getting associated Block