Completed code lab 12