Cast function (17/23)

Cast function