add follow function, bugfix