Added algorithms