More line detection fun