Adding algorithm to Pool