moved libs out of global