Works but with slightly off results.