This is the main,final,static version