Added timers to functions and replace words function