class sample edited