Getting started on flag code