changed to longer variables explaining what everything is.

Removed delay and use trigger instead.