Applying Lab 9 work to Library