commented out duplicate function (resolves #59)