before changing libraries