Sample class implemented