remove incorrect get_size method