coding style in question_frontend.py