implemented random reveal. resolves #62