inmemory model required at compile scope