Adds array input by user