updated second layer