made changes to include block building