ranking code in ui and dynamic.
merge conflict