Added class example code