I optimized drawer setup logic and completed exit square logic.