add custom function for tokenable