remove semi-stubbed func