The function of dynamin in endocytosis