Can you please provide the code as well? It's a community where we can learn from each other's code.
"I won't be wronged. I won't be insulted. I won't be laid a-hand on. I don't do these things to other people, and I require the same from them." John Bernard Books