implemented a simple flag display server