adding "sync" method to tokens