added franklin implementation