broke up the RDP algorithm a bit and implemented an auto-tagging system for it.