example code on how to get line drawing. HAVE to sort for proper MVC and coding in general