added nexus writer