Three different compute functions for Bres