working on loading library at startup