rewrite silex skeleton