reduced number of redundant calls to getScore, getState