mods to the new sword object constructor