added c to mode, need to be careful about the order of reading and creating laserplans and the individual parameters inside!