third try. I think I fixed the layering thing