First service line detection implementation, not really working, yet :(