Extracted method for getting frame from block into its own file