auto arrange, version 1