recognize lines in bubble