added proper padding for lines