algo in place