progress with badges, but not working yet