Fix: used unused variables instead of method call