a new way of handling secret keys
fix syntax