Fixed it!

create_line method now works.