removeLayer() method added