updated sample with form param support
removed printlns