last of inputs