RSFrame refactored