slack node algorithms