add more function to LayerManager