remove accidental duplicate function