removed graphic primitives
rewriting graphic