Added joins for fetchAll