added setter method for simdata class