record flags used