Started working on attribute choise algorithm