score and debuggin