Refactored questions out of function and into an object.