differentiate between lines and dots