got rid of score function