remove a small function