Updated using @daviddavis' suggestion.