flags l, a, and R are functional
problems: l spacing, color coding