initialize library before everything