add rank to posts