03/18 added calculating score