Updated algo block, equations