some query scratch