I'm still kinda struggling to understand what you are actually doing here to be honest. It all seems a bit disconnected and I still don't really get why a timer's involved at all. Could you break it down literally step by step?