added rank value, first try