Added beginnings of purpose finding function