auto trigger now works