added input and string variables