correcting errors
fixed the concrete class