separated viewer from editor and added radio data