bootstrap methods and add library