implemented scorebar