add more typecasting ,methods
cache function in variable
format typecasting specs