generate scores