removed continue that messed up dealing with weights