changed inherittance to public
working on test