added q as dependency