working on rdp optimization