live calculate efficiency instead of using a calculate button