added playbasis badge functionality