rewrote /rank query to no longer use message queue