pimc running, averages under development. Still needs to be tested