Finished implementing klib