changed Input, ArrayInt doesn't work, need to check merge()