line drawing not working. mapping incorrect?