added resolver and LibraryElement