nested closures with format rule