kept crashing, deleted bad code and it's working again, but still need to get to edit mode