added rank and removed beta