How I supposed to call min a, b function??