Wrote basic class sample.