perhaps we want to have a flags variable here...