Start here, urgently.
Please note, you appear to have two setup and two loop functions. That's not allowed.