modify layer and scene