Added example demonstrating line functions.