Adjust lines of p