diff --git a/docs/lectures/01/index.md b/docs/lectures/01/index.md
index 8961696b55b5958f10365f72f0183b527b559b93..1eea646e3323ed81c7b13353b37661d7df952445 100644
--- a/docs/lectures/01/index.md
+++ b/docs/lectures/01/index.md
@@ -130,9 +130,9 @@ Ezeket a `vk::Instance::enumeratePhysicalDevices` függvénnyel le is kérhetjü
 !!! example ""
 
     ```cpp
-        [[nodiscard]] static auto choose_physical_device(vk::Instance t_instance) -> vk::PhysicalDevice
+        [[nodiscard]] static auto choose_physical_device(vk::Instance instance) -> vk::PhysicalDevice
         {
-        const auto physical_devices{ t_instance.enumeratePhysicalDevices() };
+        const auto physical_devices{ instance.enumeratePhysicalDevices() };
 
         if (std::ranges::empty(physical_devices)) {
             throw std::runtime_error{ "No Vulkan physical device is available." };
@@ -234,13 +234,13 @@ Adott minden, hogy a *Device*-t is létrehozzuk.
 
     ```cpp
     [[nodiscard]]
-    static auto create_device(const vk::PhysicalDevice t_physical_device)
+    static auto create_device(const vk::PhysicalDevice physical_device)
         -> vk::UniqueDevice
     {
         constexpr static std::array queue_priorities{ 1.f };
 
         const vk::DeviceQueueCreateInfo queue_create_info{
-            .queueFamilyIndex = find_queue_family_index(t_physical_device),
+            .queueFamilyIndex = find_queue_family_index(physical_device).value(),
             .queueCount       = 1,
             .pQueuePriorities = queue_priorities.data(),
         };
@@ -250,7 +250,7 @@ Adott minden, hogy a *Device*-t is létrehozzuk.
             .pQueueCreateInfos    = &queue_create_info,
         };
 
-        return t_physical_device.createDeviceUnique(device_create_info);
+        return physical_device.createDeviceUnique(device_create_info);
     }
     ```
 
@@ -278,8 +278,8 @@ private:
 ```cpp title="Renderer.cpp"
 Renderer::Renderer()
     : m_instance{ create_instance() },
-      m_physical_device{ choose_physical_device(*m_instance) },
-      m_queue_family_index{ find_queue_family_index(m_physical_device) },
+      m_physical_device{ choose_physical_device(m_instance.get()) },
+      m_queue_family_index{ find_queue_family_index(m_physical_device).value() },
       m_device{ create_device(m_physical_device) },
       m_queue{ m_device->getQueue(m_queue_family_index, 0) }
 {}
diff --git a/docs/lectures/02/index.md b/docs/lectures/02/index.md
index a2bef06b2bd5290aff3bb78fd12206c8ec46b57e..35296acc2657fc9acfee11d07de64521f3a63755 100644
--- a/docs/lectures/02/index.md
+++ b/docs/lectures/02/index.md
@@ -464,7 +464,7 @@ Ehhez első lépés, hogy olyan physical_device-t válasszunk, ami támogatja ez
         std::ranges::remove_copy_if(
             instance.enumeratePhysicalDevices(),
             std::back_inserter(physical_devices),
-            [surface](vk::PhysicalDevice physical_device) {
+            [](vk::PhysicalDevice physical_device) {
                 return !(
                     supports_required_extensions(physical_device)
                     && find_queue_family_index(physical_device).has_value()