changing writer interface