added some sane defaults vor values and reset logic