1. cast refactoringu