Started working on score calculation