add rank program sans error handling code