beginning of not crashing as much