removed need for secret. keeping for compatability and future use