input almost complete