cast solution