updated line builder