Add more conditions to score method.