copy
reGen
log to console