add stacked deep networks