changed visibility for inherited class