exported flags, more checks