add Q dependency