Prepared for ex4.