added attribute binding for defense