added filter and append