re-arrange a12