Not sure if there's a short cut, but the code I posted is working.