add the auto event