configuration for record and model; test ok