convenient editor stuff