Add q dependency