added badges and recent calculation