failed attempts to make library work