made library dynamic now