code for mystic

server side code for mystic in such a way that it would send the type of object that needs to be revealed