filtering of cubes and some more details