added weight attribute on hip control