sample basic rack middleware