moved pruning to interface (nasty bug to be fixed)