regenerating secures