began layer class