q integration