doc file can now be visible and works the way we wanted