add q with modify