removed old commented code
removed old commented code and use getint for id search