almost finished getsize and soon getcontent