11/24/First version of different upper/lower/make_z functions, need to increase efficiency
11/24/Version,need to increase efficiency