compact filter for several tasks