added global markup feature.
global markup handles NaN
added references