adding lib.hpp