for now, calculate rough ranking