output in the same cycle