Decrementing the memory wasnt going into the datastore because of the order of statements in doturn