formatting graphics