Removing obsolete code and adding placeholder for score function