added case3, some NN implementation done