Added extract score generic
implemented .extractScore function