added tracing function for fitness value