My experience in this and other forums has been that it's easy to spoon feed someone answer, much easier than taking the time and effort to try to get them to understand a concept and learn how to correct their code themselves, but usually they learn close to nothing from your effort, other than how to beg for code. Please try to limit your spoon feeding in the future. Instead try to explain the concepts, answer their direct questions, and help lead them towards finding an answer.