refactor questions view