easier and shorter code for questionview