wrassling with libraries