@doogy_rev I know HOW it should be done. question is what can I do to THIS code, without rewriting it