some flag stuff that doesn't work yet