Changed example format such that they run on both fitting approaches