profile modified to put by lines