changed #SILENTLY to #SECRETLY; tidied up