finish todo validate kept set util