removes function