working but out of memory