adding for inputs