Added an eligibility object as a return value of the SQL query function in the future