adding in management flag for memory