fixed previous refactoring issue, added lineTo