getrank code completed