added prototype of block alignment