experimenting with returning value and the type of token