trying secureHandler