Refactored
Added default algo before each action
Updated controversial algo
Improved tests for controversial algo