just finished most of the functions. only thing left to do is to add and delete in the cells.