create score method