add insert and size methods