added attribute binding for melee