exercises of internal classes done