refactored answers controller