Library assignment