added combine() to query.c testing