reproduced plot4