Started working on Halfen method