library switch