algorithm draft in concept