modified the drive method, and the layer display method