binds function arguments to paramters... still uses a simplified environment
model input.p now runs