basics of chart working; add, delete, get mostly works