latest update w improved plot4