Add backend to calculate #188