added folnername to average