next attempt at fixing the memory issues