added size
add rank