RF: removed unused code