added input and variable