profile is runnig now! and some other optimization in the project