trying to get line

probably wont work with socket