copy_statics added