Add code to avoid signal collision