comment all thread method to test templatisation
remove thread method and work on templatisatioon going on
on going work
merge and remove unneeded variable and function