adding autoprofiling