added coalescing check