splitting graphics to separate component