reading data from query link