added function ntolast
removing orig file