initial implemenation for producing SDR score