removed q as a dependency