Another try at getting the layer to work