added tuple query
last