commented out ready() in lib, seems to work without