It would be better not to start 2 new threads and have a look for the codes on other threads relating to this .