move logic line