Fix rep example. Thanks @scotttherobot