added setAttrbibute{Min,Max}