Finished step4 (extend