refactor to make code more readable
refactor to make code more readable

Signed-off-by: Andres Taylor <883768b6dd2c42aea0031b24be8a2da40fef4b64@planetscale.com>

tinyspeck/vitess,vitessio/vitess,tinyspeck/vitess,tinyspeck/vitess,mahak/vitess,mahak/vitess,vitessio/vitess,vitessio/vitess,mahak/vitess,vitessio/vitess,vitessio/vitess,mahak/vitess,tinyspeck/vitess,mahak/vitess,vitessio/vitess,vitessio/vitess,vitessio/vitess,mahak/vitess,tinyspeck/vitess,tinyspeck/vitess,tinyspeck/vitess,mahak/vitess,mahak/vitess