adding graphs
fixing list bugs and removetail issues