Subject class implemented