Creates inputNames method