adding secure input support