initial version of files for plot4