I want to keep track for info what functions it hittedtill a particular position. I also want to create logfile for this process