started on score calculation