creating graphic