Done for stdin inputs