added some editor stuff