implement lines and markers