testing and it works correctly, next up is dealing with running out of memory