wired up form to data