casting process in detail - Search