added in flags