add lines in miodog