Methods of creating libraries