move return  to remove error that appears when user has not friends