added setAttribute because sometimes it just sounds better than addAttribute :)