first shot of impl. of library