Sample class program