public Object getAnswers(ClientRequest clientRequest) {
        Question question = (Question) clientRequest.getObject();
        Random random = new Random();
        GameDBLogic bLogic = new GameDBLogic();
        List<Answer> allAnswers = null;
        try {
            allAnswers = bLogic.getAnswers(question);
        } catch (Exception ex) {
            return null;
        }
        List<Answer> answers = new ArrayList<>();
        //adding 3 wrong answers
        int i = 0;
        while (i < 3) {
            int number = random.nextInt(allAnswers.size());
            if (!allAnswers.get(number).isCorrect()) {
                answers.add(allAnswers.get(number));
                allAnswers.remove(number);
            } else {
                i++;
            }
        }
        //adding correct answer
        for (Answer answer : allAnswers) {
            if (answer.isCorrect()) {
                answers.add(answer);
            }
        }
        //shuffle answers so the correct one won't be last
        Collections.shuffle(answers);
        return answers;
    }