new fig and edit
added in errory analysis