removed extra nested table. removed color property from lines, and set it on pre. WIP