implemented new notebook format for plot