Another way to say "whips  are used to discipline." is "you can use a whip for discipline"