environment within stat_summary