add check for line break