i don't need to check for editor. this code will break earlier.