So I have shared some of my code on my github including in this description ( simple code that logs intercepted receipt transactions ). There is a lot that went into this project and I have talked through most things on this channel so not sure what kind of tutorial you are looking for. It pushes the cup down first because there are some cases where the cup gets stuck and that fixes that issue when it occurs.