change to boolean to reduce memory footprint