use block instead of context for persistent blocks