chain and draw and graph