have to cast st_size