add the 1249, but not finish by me, see main.cpp for the author