Add algorithm basics