n layers = 2