added autoAlign (again)