publish and view done