added sword weapons code