allow drawing a simple line