passing all model vars to view. has to be a better way