@Override
    public Citation getCitation(Integer id) {
        for (Citation c : citations) {
            if (id.equals(c.getId())) {
                return c;
            }
        }
        throw new IllegalArgumentException("No citation with such id!");
    }