use array as arguments rather than tuple
take paremeters from input file