server write() is more effecient