Added ranking view functionality