Near working

Changed some functions, added a dummy cell in an invisible table to make
it easy when dealing with edges