working on introduction and algorithm