Changed dataset to getAtribute and setAttribute