signal for in-out