stub for algorithms