added lib loading