2. cast refactoringu