consider a utility method as you have this twice.