creating a refreshing