warnings
complete removal of old writing implementation