use a variable with setter and getter to make this prettier and more convenient