modified model and used separate methods to standardize inputs