line directions seem to be off