of course but it is based upon your implementation. until you show use some parts of your code I cannot help you further but saying that the effect function of one effect should only be called when the elements var has the right number.

edit:
when posting code (in case you are going to), please use the [ code ] [ / code ] for better readability, thank you.