returning cast