revert/rename back to algorithm parameter for compatibility