add q to dependency