Added negative score checking