updated: secret() depracated in favour of secrets().