add get_size method
add get_percentage method