output and moved condition