patched compiler bug and updated /cup & /rank to be somewhat functional