Update. Use numeric for instead of ipairs