added weight configurability