make data simpler in model