added flag display
added some content utilities