added Transformation and tested a little for lines