add detection by chunk