remove pointless function