Added timing to Replacer.java