added flags and province selector