fixing order
better line finding
duh