Completed library example