use question factory for resource