tweak method signature for progress block