Array should store intergers not string values