added num-5
added lambda-by-matrix