add chrome implementation
put debug code into ChromeImple