I would extract this out into a method and call it with the symbol.