initial support for the dirty flag