implemented leftpane