adding numeric array code