adds chosen library