Simplify thanks to @orangemug