added secure methods