What object to cast in the cast function?

Yeah, watch it all. It will gain you more time in the long run.