token: add availble information in token generation