3. cast refactoringu