added whats needed tofor profiling
cleanup