rescued stashed ui functions