added melee limiting