complete priv input form
refactor