model extracted from editor to main app