scores fixed but still ugly, moved to utils