Implement logic for scene 3.