Adding variables and input process