adding filter and subchart