SQUASH ME: determine alignment automatically