add cast