outer is inner and inner is outer