inital work for rank callback