Finished lab8 (finally)