added parts of sample library back