Following priate badge tutorial from the dart website.