Removing reference to outputElement