refaktor block building