Arranging commands in batch of four