removing flags and empty declaration
refactor of glabel
we don't need a ternary operator to return nil. ruby does that as default
simpler merge for @markups and @labels