working main plots for primitives (text issue on safari)