version 1- library