first version of lines and animations.  Errors in the marker code