Move compose and start on painting code