add algo to package