typecasts on values