initial commit of extension code