Why don't you create a helper method for that?