added type secret