manual casting