restructure model for pre-DB process.