changed 'default:'to cases showing questions types