group transformations in one place
better comments in arraydoubler