consider a more comprehensive case for both half layer and full layer---half done version