finalizing framework