Tips:
- When posting code, select it and press the </> button to format it. It will preserve indentation and do some syntax highlighting for you.
- It looks like you're working on a Vision application. If you edit your question title and add in the Vision tag it may help attract the Vision experts.