removed struct, now use bool array