added analytics and auto plot drawing sort of - dosen't display data