implement question controller