model now uses dynamic environmental data