I prefer @matthewd version than doing the operation two times.