securing inputs p1