switched layer order