working score calculation