ordering implemented, resize implemented, accurate size retrieval