Switched libraries