You should post code. Reading code and finding small mistakes is a lot easier than to "read" out the mistake by our explanations.