handling one or many inputs and providing input to use instead of a placeholder