Added beginning of line trimming