add base of function for drawing lines and add minimum function and change hoe input objects work