added possibility to filter the stat entries