added new-sample ring-middleware