added question scaffold
fixed deprecation issue