overwrite weight