added log and q for quit