comment the choice of data structure. use boolean instead of a string