method rename
extract specific token types to inference type of result value