building out lib