line magic working