new UI 

this adds flag functionality - getting close now...