default rank to 0