Added library retrieval to joined object and sends it back