Completed the PA1_template