same here, just spy the function