added class to determine secret