much simpler, faster and nicer-looking lines