define class implemented